
interface CarCar {
    fun run()
}

fun main() {
    fun wuLing(block: () -> Unit) = object : CarCar {
        override fun run() = block.invoke()
    }

    runRoad(wuLing {
        println("兜兜风")
    })
}

fun runRoad(car: CarCar) {
    car.run()
}